<?php include_once('header.php'); ?>
<div id="profileContent">
    <div id="loginDiv">
        
        <?php echo validation_errors(); ?>
        <?php echo form_open('MainView/submitCourseSelection') ?>
            <div id="courseDiv">
                <select id="courseSelect" name="courseSelectInput">
                    <option value ="seleccione" selected>Seleccione Curso</option>
                    
                    <?php foreach ($courses as $course){ ?>
                        <option value ="<?php echo $course->examCourse; ?>" > <?php echo $course->examCourse; ?></option>
                    <?php } ?>
                </select>
            </div>
            <div id="signInDiv"><input id="signInButton" value="Ingresar" type="submit" /></div>
        </form>
    </div>
</div>
<?php include_once('footer.php'); ?>